import Vue from 'vue'
import router from '@/router'

const help = {
    namespaced: true,
    state: { 
      device: localStorage.device ? JSON.parse(localStorage.device) : ''
    },
    getters: {
       
    },
    mutations: { 
        setDevice (state, device) {
            state.device = device
            localStorage.device = JSON.stringify(device)
        }
    },
    actions: { 
    }
}
export default help
